Skip to content

test: re-enable upgrade check scheduler test#1586

Open
immanuwell wants to merge 1 commit into
percona:mainfrom
immanuwell:chore-enable-upgradecheck-scheduler-test
Open

test: re-enable upgrade check scheduler test#1586
immanuwell wants to merge 1 commit into
percona:mainfrom
immanuwell:chore-enable-upgradecheck-scheduler-test

Conversation

@immanuwell
Copy link
Copy Markdown

What

Removed a stale skip from the upgrade check scheduler test.

This test used to say it broke under go test ./..., but that does not repro anymore. So yeah, lets get this tiny bit of coverage back in the mix.

Repro

On current main:

go test ./internal/upgradecheck -run TestCheckForUpgradesScheduler -count=1 -v

The test is reported as skipped, so the scheduler panic recovery and ticker path are not actually checked. Kinda leaving money on the table.

With this branch, the same test runs for real.

Checked

go test ./internal/upgradecheck
go test ./...

I searched GitHub issues/PRs for upgradecheck, checkForUpgrades, scheduler, and the old go test ./... note. Did not find a direct issue to link.

@it-percona-cla
Copy link
Copy Markdown

it-percona-cla commented May 7, 2026

CLA assistant check
All committers have signed the CLA.

@egegunes
Copy link
Copy Markdown
Contributor

@immanuwell I'm not sure if we want to run those tests at all... They are checking upstream's upgrade registration logic which we don't use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants